package leap_year;

public class LeapYear {

	private int year;

	public LeapYear(int y) {
		year = y;
	}

	public boolean isLeapYear() {
		return (year % 4 == 0 && year % 100 != 0) || year % 400 == 0;
	}
}
